package com.example.demo.demos.book.mapper;

import com.example.demo.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
public interface UserInfoMapper {
    /*根据用户名称查询用户信息*/
    @Select("select *from user_info where user_name=#{name}")
    UserInfo selectUserByName(String name);

}
